package com.zl.smartmall.library.im.po;

import net.tsz.afinal.annotation.sqlite.Id;
import net.tsz.afinal.annotation.sqlite.Property;

/**
 * 消息基类
 * @author 陈希然
 *
 */
public class BaseMessageInfo {

	@Id
	protected int id;
	@Property
	protected int chatId;//pmid
	@Property
	protected int msgType;
	@Property
	protected String message;// 具体消息内容
	@Property
	protected long time;//消息创建的时间

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getChatId() {
		return chatId;
	}

	public void setChatId(int chatId) {
		this.chatId = chatId;
	}

	public int getMsgType() {
		return msgType;
	}

	public void setMsgType(int msgType) {
		this.msgType = msgType;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}
}
